#-*- coding: utf8 -*-
__author__ = 'baixiaoustc'

from maps import do_map_get
import sys

if __name__ == "__main__":
    reload(sys)
    sys.setdefaultencoding('utf-8')
    mode = raw_input('choose mod: ')
    if mode == '0':
        origin = '清华大学'
        destination = '北京大学'
        region = '北京'
    elif mode == '1':
        origin = '启明花园'
        destination = '软件园'
        region = '成都'
    else:
        origin = raw_input(u'起始点: ')
        destination = raw_input(u'结束点: ')
        region = raw_input(u'在哪儿: ')
    xx = do_map_get.codoon_map(origin, destination, region)
    xx.do_main()
